<include file="public@header" />
</head>
<body>	
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
			<li class="active"><a href="{:url('company/stationIndex')}">岗位信息</a></li>
			<li><a href="{:url('company/stationAdd')}">添加岗位信息</a></li>
		</ul>
		<form class="well form-inline margin-top-20" method="get" 
		action="{:url('company/stationIndex')}">
            岗位名称:
            <input type="text" class="form-control" name="stationName" style="width: 180px;" value="" placeholder="请输入岗位名称}">
            <input type="submit" class="btn btn-primary" value="搜索" />
            <a class="btn btn-danger" href="{:url('company/stationIndex')}">清空</a>
        </form>
		<form action="" method="post" class="margin-top-20">
			<table class="table table-hover table-bordered">
				<thead>
					<tr>
						<th align="left">岗位编码</th>
						<th align="left">岗位名称</th>
						<th align="left">所属部门</th>
						<th align="left">管控区域</th>
						<th align="left">风险等级</th>
						<th width="160">{:lang('ACTIONS')}</th>
					</tr>
				</thead>
				<tbody>
					<foreach name="data" item="vo">
					<tr>
						<td>{$vo.stationCode}</td>
						<td>{$vo.stationName}</td>
						<td>{$vo.name}</td>
						<td>{$vo.workArea}</td>
						<td>{$vo.dangerLevelName}</td>
						<td>
							<a class="btn btn-primary" href="{:url('company/stationEdit',array('stationID'=>$vo['stationID']))}">{:lang('EDIT')}</a>
							<!--js-ajax-delete-->
							<a class="btn btn-danger js-ajax-delete"
							 href="{:url('company/stationDelete',array('stationID'=>$vo['stationID']))}" data-msg="确定删除它吗？">{:lang('DELETE')}</a>
						</td>
					</tr>
					</foreach>
				</tbody>
			</table>
			<div class="pagination">{$page}</div>
		</form>
	</div>
	<script src="__STATIC__/js/admin.js"></script>
</body>
</html>